﻿using System;
using System.Collections.Generic;

namespace CRM.Infrastructure.EFCore.Mysql
{
    public partial class SysDepartment
    {
        /// <summary>
        /// 部门ID
        /// </summary>
        public string Did { get; set; } = null!;
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? Dname { get; set; }
        /// <summary>
        /// 上级组织ID
        /// </summary>
        public string? Dparent { get; set; }
        /// <summary>
        /// 部门等级
        /// </summary>
        public int? Dlv { get; set; }
        /// <summary>
        /// 图标代码
        /// </summary>
        public string? Dicon { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int? Dno { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? Dexplain { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? DcreateTime { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public int? DisBan { get; set; }
        /// <summary>
        /// 备用
        /// </summary>
        public string? Ddesc { get; set; }
    }
}
